#![allow(dead_code)]

enum Status {
    Rich,
    Poor,
}

enum Work {
    Civilian,
    Soldier,
}


fn main() {
    println!("Hello, world!");
    use Status::{Poor, Rich};
    use Work::*;

    let status = Poor;
    let work = Civilian;
    match status {
        Rich => println!("the rich have lots of money!"),
        Poor => println!("the poor have to money...")
    }
    match work {
        Civilian => println!("civilians work"),
        Soldier => println!("soldiers fight")
    }
}
